/**
 * @author：anlzou
 * @Date：Created in16:10 2021/4/15
 * @Github：https://github.com/anlzou
 * @Description：
 */
package com.anlzou.dao;

import java.util.Date;

public class User {
    private String name;
    private int age;
    private boolean gender;//true:boy; false:girl
    private Date birthday;
    private String address;
    private String[] hobbies;

    public String[] getHobbies() {
        return hobbies;
    }

    public void setHobbies(String[] hobbies) {
        this.hobbies = hobbies;
    }

    public User(String name, int age, boolean gender, Date birthday, String address, String[] hobbies) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.birthday = birthday;
        this.address = address;
        this.hobbies = hobbies;
    }

    public User(){}


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
